package com.venus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 签到表 sign
 * </p>
 *
 * @author Venus
 * @since 2020-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Sign extends Model<Sign> {

    private static final long serialVersionUID = 1L;

    /**
     * 签到表ID
     */
    @TableId(value = "sign_id", type = IdType.AUTO)
    private Integer signId;

    /**
     * 员工姓名
     */
    private String signName;

    /**
     * 员工签到状态 2:已签退 1:已签到  0：未签到
     */
    private String signStatus;

    /**
     * 签到时间
     */
    private LocalDateTime signInTime;

    /**
     * 签退时间
     */
    private LocalDateTime signOutTime;

    /**
     * 字符串
     */
    private String string0;

    /**
     * 数字
     */
    private Integer int0;


    @Override
    protected Serializable pkVal() {
        return this.signId;
    }

}
